import 'package:flutter/material.dart';
import 'package:flutter_trip/navigator/tab_navigator.dart';
// import 'package:fluttertrip/pages/Mylist/my_gridview.dart';
// import 'package:fluttertrip/pages/Mylist/myexpansion_list_page.dart';
// import 'package:fluttertrip/pages/Mylist/myrefresh.dart';

void main() {
  runApp(const MyApp(initParams: ''));
}

class MyApp extends StatelessWidget {
  final String initParams;
  const MyApp({Key? key,required this.initParams}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter 之旅',
      theme: ThemeData(

        primarySwatch: Colors.blue,
      ),
      home: TabNavigator(),
//      routes: {
//        'mylist':(BuildContext context)=>MyExpansionList(),
//        'mygridview':(BuildContext context)=>MyGrideView(),
//        'Myrefresh':(BuildContext context)=>Myrefresh(),
//      },
    );
  }
}

